/**     
* @Title: SysUser.java   
* @Package me.security.example.domain   
* @Description: TODO   
* @author xaoyaoyao
* @date 2017年8月22日 下午9:20:31
*/
package me.security.example.domain;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName: SysUser
 * @Description: TODO
 * @author xaoyaoyao
 * @date 2017年8月22日 下午9:20:31
 * 
 */
public class SysUser implements Serializable {

	private static final long serialVersionUID = 6052640568142822706L;

	private Integer id;
	
	private String username;
	
	private String password;

	private List<SysRole> roles;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public List<SysRole> getRoles() {
		return roles;
	}

	public void setRoles(List<SysRole> roles) {
		this.roles = roles;
	}

}
